home *** CD-ROM | disk | FTP | other *** search
- stop();
- if(!setVars)
- {
- startFrame = _root._currentframe;
- setVars = true;
- }
- var onEnterFrame = function()
- {
- if(_root._currentframe != startFrame)
- {
- removeMovieClip(this);
- }
- moveSpeed = 6;
- if(_Y < -50)
- {
- removeMovieClip(this);
- }
- else
- {
- _rotation = _rotation + moveSpeed;
- _Y = _Y - moveSpeed;
- }
- if(_root.cm.hit.hitTest(this))
- {
- if(_currentframe == 1)
- {
- _root.health -= 10;
- gotoAndStop(2);
- }
- }
- };
-